package com.risk.ctrl.entity.dto;

import com.risk.ctrl.entity.property.ReqProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RcpMerchantDTO implements Serializable {
    private static final long serialVersionUID = -660287148826945268L;
    /**
     * 签名
     */
    @NotBlank
    private String sign;
    /**
     * appKey
     */
    @NotBlank
    private String appKey;
    /**
     * 时间戳
     */
    @NotNull
    private Long time;

    @NotNull
    private ReqProperty reqProperty;

    @NotBlank
    private String url;
}
